import Vue from 'vue';
import vuex from 'vuex';

Vue.use(vuex);


export default new vuex.Store({
  state: {
    airBookInfo: null,
    historySearch: null,
  },
  mutations: {
    setAirBookInfo(state, payload) {
      state.airBookInfo = payload.airBookInfo;
    },
    setHistorySearchInfo(state, payload) {
      state.historySearch = payload;
    },
  },
});
